package com.ml.mall.bean.req.company;

import com.ml.mall.entity.company.SysCompanyAddr;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 *   @description    :description 
 *   @author         :zxm
 *   @date           :2021/5/13
 *   @version        :1.0
**/
@ApiModel(value = "公司新增类")
@Data
public class CompanyNewDto {
    @ApiModelProperty(value = "公司名称")
    @NotBlank(message = "公司名称不能为空")
    private String companyName;
    @ApiModelProperty(value = "公司备注码")
    private String syarikatCode;

    @ApiModelProperty(value = "注册码：合作商邀请码")
    private String registartionNo;

    @ApiModelProperty(value = "图片地址")
//    @NotBlank(message = "公司logo不能为空")
    private String logoUrl;
    @ApiModelProperty(value = "证书地址：或者身份证图片URL")
//    @NotBlank(message = "证书图片不能为空")
    private String ssmUrl;
    @ApiModelProperty(value = "电话")
    @NotBlank(message = "电话不能为空")
    private String phoneNo;
    @ApiModelProperty(value = "订阅类型：1免费；2收费")
//    @NotNull(message = "订阅类型不能为空")
    private Integer subType;
    @ApiModelProperty(value = "固定传值；公司类型：1：买家；2：卖家")
    @NotNull(message = "公司类型不能为空")
    private Integer companyType;
    @ApiModelProperty(value = "业务")
    @NotNull(message = "业务不能为空")
    private Long industryId;
    @ApiModelProperty(value = "公司所属国家")
//    @NotNull(message = "公司所属国家不能为空")
    private Long countryId;
    @ApiModelProperty(value = "0：系统配送 1：商家自配送")
    private Integer supplierDeliveryType;

    @ApiModelProperty(value = "公司业务描述")
//    @NotBlank(message = "公司业务描述不能为空")
    private String businessBackground;

    @ApiModelProperty(value = "感兴趣的产业数组Id(主键id)")
//    @NotNull(message = "感兴趣的产业不能为空")
    private CompanyIntrIndustryDto interestedIndustryObj;

    @ApiModelProperty(value = "账单地址")
    private CompanyAddrDto billAddr;

    @ApiModelProperty(value = "购物地址")
    private CompanyAddrDto shopAddr;

    @ApiModelProperty(value = "银行卡详情")
    private CompanyBankDto bankDetails;

    @ApiModelProperty(value = "国家州属")
    private CompanyShippingDto companyShipping;

    @ApiModelProperty(value = "物流信息")
    private CompanyLogisticsInfoDto logisticsInfo;

    @ApiModelProperty(value = "公司SSM图片")
    private List<CompanySsmPicDto>  companySsmPicArr;

    @ApiModelProperty(value = "注册原因")
    private String  registrationReason;

    @ApiModelProperty(value = "公司的洲属iD")
    private Integer statesId;

    @ApiModelProperty(value = "type of busuness")
    private String typesBusiness;   //商业 类型

    @ApiModelProperty(value = "公司规模")
    private Integer companyLevel;

    @ApiModelProperty(value = "公司备注")
    private String remark;
}
